package com.cqyc.imview.activity

import android.os.Bundle
import com.cqyc.imview.R
import com.cqyc.imview.StatusBarUtils
import com.cqyc.imview.base.BaseActivity
import com.cqyc.imview.databinding.ActivityConversationBinding
import com.cqyc.imview.fragment.ConversationFragment
import com.cqyc.imview.model.ConversationAModel


class ConversationActivity : BaseActivity<ActivityConversationBinding, ConversationAModel>() {
    override fun setLayout(): Int {
        return R.layout.activity_conversation
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        StatusBarUtils.setStatusBar(window)
        val begin = supportFragmentManager.beginTransaction()
        val fragment = ConversationFragment()
        begin.replace(R.id.fragment, fragment)
        begin.commitNow()
    }
}